package com.example.demo3.dao;

import com.example.demo3.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserDao extends JpaRepository<User,Integer> {
    List<User>  findByAge(Integer age);

    //List<User> findByAge(List<User> queryByAge);
}
